package org.dromara.system.domain;

import org.apache.poi.hpsf.Decimal;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.math.BigDecimal;

/**
 * 会员开通记录对象 member_records
 *
 * @author Lion Li
 * @date 2025-07-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("member_records")
public class MemberRecords extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    private Long memberConfigId;

    private String no;
    /**
     *
     */
    private Long userId;

    /**
     * 会员金额
     */
    private BigDecimal price;

    /**
     * 支付状态 0未支付  1已支付
     */
    private Integer status;

    /**
     * 备注
     */
    private String remark;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @TableLogic
    private String delFlag;


}
